package com.hq.modules.sys.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Regions {
    /**
     * 区域id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer id;

    /**
     * 半径
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Double radius;

    /**
     * 经度
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private String longitude;

    /**
     * 纬度
     */
    @JsonSerialize(using = ToStringSerializer.class)
  private String latitude;

    /**
     * 地址
     */
    private String address;

    /**
     * 区
     */
    private String district;

    /**
     * 乡镇街道
     */
    private String town;

    /**
     * 社区/村
     */
    private String community;

    /**
     * 负责人
     */
    private String responsiblePerson;

    /**
     * 联系电话
     */
    private String contactNumber;

    /**
     * 是否删除  1删除 0未删除
     */
    private Integer isDelete;
}